package com.lcifn.spring.aop.advice;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class BrowserThrowingAdvice implements ThrowsAdvice{

	public void afterThrowing(Method method, Exception ex){
		System.out.println(method.getName() + " throws exception: " + ex.getMessage());
	}
}
